<template>
    <el-main>
        <el-main class="ep-body">
			<epl-top-bar :datas="{formData:form}" showPerson personType="PERSON_ALL_EXACT" psTagType="PERSON_INJURY_QUERY">
                <ep-button size="small" name="刷新"></ep-button>
            </epl-top-bar>
			<epl-userMessage dataType="person" idCount="1" >
            </epl-userMessage>
 			<el-card class="ep-card">
            <el-form :model="form" ref="form" :rules="rules">
             <ep-title>工伤申报信息</ep-title>
                        <el-row :gutter="10">
                                <ep-input  label="人员编号" name="lc61aac001" :property="form.lc61aac001"
                                           p="H"  :datas="{formData: form}"></ep-input>
                                <ep-input colspan="8" label="姓名" name="aac003"  :property="form.aac003" placeholder=""
                                           p="D"  :datas="{formData: form}"  rules="this.$rules.test_noBlank"></ep-input>
                                <ep-select colspan="8" label="性别" name="aac004" :property="form.aac004" placeholder=""
                                           p="D" :datas="{formData: form}" codetype="AAC004" ></ep-select>
                                <ep-select colspan="8" label="民族" name="aac005" :property=" form.aac005" placeholder=""
                                           p="D" :datas="{formData: form}" codetype="AAC005"  ></ep-select>
                       </el-row>
                            <el-row :gutter="10">
                               <ep-select colspan="8" label="证件类型" name="aac058" :property="form.aac058" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="AAC058" rules="this.$rules.test_noBlank" ></ep-select>
                                <ep-input colspan="8" label="证件号码" name="aac147" :property="form.aac147" placeholder="" 
                                          p="D"  :datas="{formData: form}" isChange   rules="this.$rules.test_noBlank"></ep-input>
                                <ep-input colspan="8" label="联系地址" name="aae006" :property="form.aae006" placeholder=""
                                          p="D" :datas="{formData: form}"  rules="this.$rules.test_noBlank"></ep-input>
                            </el-row>
                            <el-row :gutter="10">
                                <ep-input colspan="8" label="联系电话" name="aae005" :property="form.aae005" placeholder=""
                                          p="D" :datas="{formData: form}"></ep-input>
                                <ep-input colspan="8" label="邮政编码" name="aae007" :property="form.aae007" placeholder=""
                                          p="D" :datas="{formData: form}"></ep-input>
                             <ep-date colspan="8" label="参加工作时间"  name="aac007" :property="form.aac007" placeholder=""
                                  p="D" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"  rules="this.$rules.test_noBlank"></ep-date>
                            </el-row>
                    <!-- <ep-title>用人单位信息</ep-title> -->
                    <el-row :gutter="20">
                        <ep-input colspan="8" label="单位名称" name="aab069" :property="form.aab069" placeholder=""
                                  p="D" :datas="{formData:form}"></ep-input>
                        <ep-input colspan="8" label="统一社会信用代码" name="bab010" :property="form.bab010" placeholder=""
                                  p="D" :datas="{formData:form}"></ep-input></el-row>
                    <el-row :gutter="20">
                        <ep-input colspan="8" label="联系人" name="aae004" :property="form.aae004" placeholder=""
                                  p="D" :datas="{formData:form,panel:panel}" isChange></ep-input>
						<ep-input colspan="8" label="联系电话" name="bae566" :property="form.bae566" placeholder=""
                                  p="D" :datas="{formData:form,panel:panel}" isChange  rules="this.$rules.test_noBlank"></ep-input>
						<ep-input colspan="8" label="联系地址" name="aae006" :property="form.aae006" placeholder=""
                                  p="D" :datas="{formData:form,panel:panel}" isChange  rules="this.$rules.test_noBlank"></ep-input>
                       </el-row>
					<el-row :gutter="20">
                        <ep-input colspan="8" label="邮编" name="aae007" :property="form.aae007" placeholder=""
                                  p="D" :datas="{formData:form,panel:panel}" isChange></ep-input>
						<ep-input colspan="8" label="法人代表" name="aab013" :property="form.aab013" placeholder=""
                                  p="D" :datas="{formData:form,panel:panel}" isChange></ep-input>
                       </el-row>
                  <!-- <ep-title>申请人信息</ep-title> -->
                    <el-row :gutter="20">
                        <ep-select colspan="8" label="申请主体" name="alc009" :property="form.alc009" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALC009"  rules="this.$rules.test_noBlank"></ep-select>
                        <ep-input colspan="8" label="申请人姓名" name="aac042" :property="form.aac042" placeholder=""
                                  p="D" :datas="{formData:form,panel:panel}"  rules="this.$rules.test_noBlank"></ep-input>
						<ep-select colspan="8" label="申请人证件类型" name="bae565" :property="form.bae565" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="BAE565"  rules="this.$rules.test_noBlank"></ep-select>
                     </el-row>
                     <el-row :gutter="20">
						<ep-input colspan="8" label="申请人证件号码" name="aac044" :property="form.aac044" placeholder=""
                                  p="D" :datas="{formData:form,panel:panel}"  rules="this.$rules.test_noBlank" ></ep-input>
						<ep-input colspan="8" label="申请人联系电话" name="acl049" :property="form.acl049" placeholder=""
                                  p="D" :datas="{formData:form,panel:panel}"  rules="this.$rules.test_noBlank" ></ep-input>
                     </el-row>
                  <!-- <ep-title>工伤信息</ep-title> -->
                    <el-row :gutter="20">
                        <ep-select colspan="8" label="工伤类别" name="blc027" :property="form.blc027" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="BLC027" isChange  rules="this.$rules.test_noBlank"></ep-select>
                      	<ep-select colspan="8" label="伤害程度" name="alc021" :property="form.alc021" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALC021"  rules="this.$rules.test_noBlank"></ep-select>
                       <ep-select colspan="8" label="职业(工种)" name="aca111" :property="form.aca111" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ACA111"  rules="this.$rules.test_noBlank"></ep-select>
                        </el-row>    
                    <el-row :gutter="20">
                         <ep-select colspan="8" label="伤害部位1" name="alc042" :property="form.alc042" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALC042"   rules="this.$rules.test_noBlank"></ep-select>
                        <ep-select colspan="8" label="伤害部位2" name="alc043" :property="form.alc043" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALC043" ></ep-select>
                        <ep-select colspan="8" label="伤害部位3" name="alc044" :property="form.alc044" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALC044" ></ep-select>
                    </el-row>
                     <el-row :gutter="20">
						<ep-select colspan="8" label="伤害部位4" name="alc046" :property="form.alc046" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALC046" ></ep-select>
                        <ep-select colspan="8" label="伤害部位5" name="alc047" :property="form.alc047" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALC047" ></ep-select>
                    </el-row>
                    <el-row :gutter="20">
					<ep-textarea colspan="24" label="伤害部位描述" name="alc022" :property="form.alc022" placeholder=""
                                  p="D" :datas="{formData:form}"></ep-textarea>
					</el-row>      
               <el-row :gutter="20">
						<ep-select colspan="8" label="事故类别" name="ala028" :property="form.ala028" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALA028" ></ep-select>
                        <ep-input colspan="8" label="事故地点" name="blb003" :property="form.blb003" placeholder=""
                                  p="D" :datas="{formData:form}" isChange></ep-input>
                         <ep-input colspan="8" label="交通事故认定书编码" name="blc542" :property="form.blc542" placeholder=""
                                  p="D" :datas="{formData:form}" isChange></ep-input>
                    </el-row>
                  <el-row :gutter="20">
                      <ep-date colspan="8" label="工伤发生时间"  name="alc020" :property="form.alc020" placeholder=""
                                  p="D" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"  rules="this.$rules.test_noBlank"></ep-date>
						<ep-select colspan="8" label="是否涉及第三人" name="blc543" :property="form.blc543" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="BLC543" ></ep-select>
                    </el-row>
                  <el-row :gutter="20">
                        <ep-textarea colspan="24" label="伤害事件情况" name="alc006" :property="form.alc006" placeholder=""
                                  p="D" :datas="{formData:form}" rows="2" ></ep-textarea>
                    </el-row>
					<el-row :gutter="20">
                        <ep-input colspan="16" label="工伤认定机构" name="alc030" :property="form.alc030" placeholder=""
                                  p="D" :datas="{formData:form}" isChange  rules="this.$rules.test_noBlank"></ep-input>
                       <ep-date colspan="8" label="首诊日期"  name="aae030" :property="form.aae030" placeholder=""
                                      p="D" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                     </el-row>
                     <el-row :gutter="20">
                        <ep-textarea colspan="24" label="医疗救治的基本情况和诊断意见" name="blc508" :property="form.blc508" placeholder=""
                                  p="D" :datas="{formData:form}" rows="2" ></ep-textarea>
                    </el-row>
 	                <el-row :gutter="20">
                        <ep-date colspan="8" label="接触职业病危害日期" name="blc150" :property="form.blc150" placeholder=""
                                  p="D" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                        <ep-input colspan="8" label="接触职业病危害月数" name="alc048" :property="form.alc048" placeholder=""
                                  p="D" :datas="{formData:form}"></ep-input>
                        <ep-select colspan="8" label="职业病名称1" name="ala017" :property="form.ala017" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALA017"></ep-select></el-row> 
                    <el-row :gutter="20">
                        <ep-select colspan="8" label="职业病名称2" name="ala029" :property="form.ala029" placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALA017"></ep-select>
                        <ep-date colspan="8" label="因工死亡日期"  name="alc040" :property="form.alc040" placeholder=""
                                      p="D" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>
                    </el-row>
                <ep-title>工伤认定决定</ep-title>
                   <el-row :gutter="20">
                     <ep-select colspan="8" label="工伤认定结论" name="ala015" :property="form.ala015" placeholder="" 
                                  p="D" :datas="{formData:form}" codetype="ALA015" ></ep-select>
                    <ep-select colspan="8" label="认定依据类别" name="ala016" :property="form.ala016"  placeholder=""
                                  p="D" :datas="{formData:form}" codetype="ALA016" ></ep-select>
                    </el-row>
                    <el-row :gutter="20">
                        <ep-textarea colspan="24" label="调查核实情况" name="hsqk" :property="form.hsqk"  placeholder=""
                                  p="D" :datas="{formData:form}" rows="2" ></ep-textarea>
                    </el-row>
              <ep-title>撤销信息</ep-title>
                   <el-row :gutter="20">
	                     <ep-select colspan="8" label="撤销原因" name="bae160" :property="form.bae160" placeholder="" 
	                                  p="D" :datas="{formData:form}" codetype="BAE160" ></ep-select>
	                     <ep-select colspan="8" label="撤销依据" name="bae529" :property="form.bae529"  placeholder=""
	                                  p="D" :datas="{formData:form}" codetype="BAE529" ></ep-select>
	                     <ep-date colspan="8" label="撤销日期"  name="aae219" :property="form.aae219" placeholder=""
                                      p="D" :datas="{formData:form}" type="date" format="yyyy-MM-dd" value-format="yyyyMMdd"></ep-date>             
                    </el-row>  
              <ep-title>请输入审核信息</ep-title>
                   <el-row :gutter="20">
                     <ep-select colspan="8" label="审核标志" name="SHBZ" :property="form.SHBZ" placeholder="请选择审核标志" 
                                  p="R" :datas="{formData:form}" codetype="SHBZ" ></ep-select>
                  
                    </el-row>
                    <el-row :gutter="20">
                        <ep-textarea colspan="24" label="审核意见" name="blc500" :property="form.blc500"  placeholder="请输入审核意见"
                                  p="E" :datas="{formData:form}" rows="2" ></ep-textarea>
                    </el-row>
                       
					<el-row type="flex" justify="center">
                        <ep-saveButton id="doSave" top="20" type="primary" bottom="20" ref="save"
                                      @formValidate="formValidate"
                                       :validate="['form']"
                                       :datas="{formData: form,panel:panel}" name="保存"></ep-saveButton>
                         <ep-Button id="" top="20" type="primary" bottom="20"
                                   name="清空"></ep-Button>              
                    </el-row>
                </el-form>
                </el-card>
        </el-main>
    </el-main>
</template>

<script src="../js/InjuryCogRevokeAuditJS.js"></script>
